Post Agent O Auth App

Post Agent O Auth App

Create OAuth application for the specified usage metering agent.

Request
URI
POST
https://eapi.broadcom.com/vcf/ums/api/v1/usage-metering-agents/{agentId}/oauth-app
COPY
Path Parameters
string
agentId
Required

The ID of the usage metering agent.


Authentication
This operation uses the following authentication methods.
Responses
200

A new OAuth application was successfully created and associated with the specified usage metering agent.

Operation doesn't return any data structure

204

There is an already existent OAuth application associated with the specified usage metering agent.

Operation doesn't return any data structure

403

The user has no access to perform the requested operation.

Operation doesn't return any data structure

404

There is no registered usage metering agent or the user has no access to it.

Operation doesn't return any data structure

406

A request was made to create an oauth app for agent that is in deleted state.

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' https://{api_host}/vcf/ums/api/v1/usage-metering-agents/{agentId}/oauth-app