Is there a way to Approve or Revoke Company Apps, like we do developer apps.
Hi @Varun Agarwal,
I assume you're looking for this -
Do we have to pass status as a attribute?
Turns out, there's no such call about "Approve or Revoke Company App" mentioned on documentation at least - https://apidocs.apigee.com/api/apps-company, however there's a call, I figured it out by trial and error (so just a caution - you should double check before using it). I checked out this call and replicated for company, and it worked!
Here's the `curl` command you can use;
To revoke: curl -X POST --header "Content-Type: application/octet-stream" --header "Authorization: Basic <add your Basic Auth>" "https://api.enterprise.apigee.com/v1/organizations/{org}/companies/{company-name}/apps/{appname}?action=revoke" To approve: curl -X POST --header "Content-Type: application/octet-stream" --header "Authorization: Basic <add your Basic Auth>" "https://api.enterprise.apigee.com/v1/organizations/{org}/companies/{company-name}/apps/{appname}?action=approve"<br>
You can also read this - https://community.apigee.com/questions/61451/update-company-app-creating-additional-credentials.html for more insights if you'd like.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |