Delete Program Feature

Delete certain program features from the specified payment program

📘

Note

This endpoint allows deleting particular feature types from the specified payment program. The feature types that have to be deleted are provided as an array value to the features key in the request object. The response is identical to the one returned by the GET endpoint and will contain all the feature property values set to their disabled states (e.g. null).

VERIFIED_LICENSE

You can remove all the license with the above method or you can use the disabled_licenses field to delete a single license:

curl \
  -X DELETE
  -H 'Content-Type: application/json' \ 
  --user "{username}:{password}" \
  -d '{"features":["VERIFIED_LICENSE"],"disable_licenses":["license_num_to_delete"]}' \
  https://partner-api.yelp.com/program/hmPSQN_57dtcE9fUJvWTDw/features/v1

BUSINESS_PORTFOLIO

You can delete all portfolio projects related to a program by sending a DELETE request.

curl \
  -X DELETE
  -H 'Content-Type: application/json' \ 
  --user "{username}:{password}" \
  -d '{"features":["BUSINESS_PORTFOLIO"]}' \
  https://partner-api.yelp.com/program/hmPSQN_57dtcE9fUJvWTDw/features/v1

📘

This endpoint is part of the Program Feature API, visit Program Feature API to learn more.

Language
Authorization
Basic
base64
: