This API is used to create consumption apps.
POST /v2/{project_id}/apps
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. The token can be obtained by calling the IAM API (value of X-Subject-Token in the response header). |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
app_name |
Yes |
String |
Unique identifier of the consumer application to be created. The application name contains 1 to 200 characters, including letters, digits, underscores (_), and hyphens (-). Minimum: 1 Maximum: 200 |
None
Creating Consumption Apps
POST https://{Endpoint}/v2/{project_id}/apps { "app_name" : "newapp" }
None
Status Code |
Description |
---|---|
201 |
Normal response. |
See Error Codes.