GET https://apis.wso2.com/api/am/store/v0.16/applications/{applicationId}/keys/{keyType}
This operation can be used to retrieve key details of an individual application specifying the key type in the URI.
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
applicationId required |
Application Identifier consisting of the UUID of the Application. |
String | |
Path |
keyType required |
**Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). Accepted values: PRODUCTION
SANDBOX
|
String | |
Query |
groupId optional |
Application Group Id |
String | |
Header |
Accept optional |
Media types acceptable for the response. Default is application/json. |
String |
application/json |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Application key details returned. |
ApplicationKey |
404 |
Not Found. Requested application does not exist. |
Error |
406 |
Not Acceptable. The requested media type is not supported |
Error |
PUT https://apis.wso2.com/api/am/store/v0.16/applications/{applicationId}/keys/{keyType}
This operation can be used to update grant types and callback url of an application. (Consumer Key and Consumer Secret are ignored) Upon succesfull you will retrieve the updated key details as the response.
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
applicationId required |
Application Identifier consisting of the UUID of the Application. |
String | |
Path |
keyType required |
**Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). Accepted values: PRODUCTION
SANDBOX
|
String | |
Body |
body required |
Grant types/Callback URL update request object |
ApplicationKey (ApplicationKey) |
HTTP Code | Description | Schema |
---|---|---|
200 |
Ok. Grant types or/and callback url is/are updated. |
ApplicationKey |
400 |
Bad Request. Invalid request or validation error |
Error |
404 |
Not Found. The resource to be updated does not exist. |
Error |
412 |
Precondition Failed. The request has not been performed because one of the preconditions is not met. |
Error |