Modify an existing credential pair

put

/design/resources/services/token/unt/{credentialId}

Use the application/x-www-form-urlencoded content type to update a credential with a text-based secret or use the multipart/form-data content type to update a credential, such as a keystore or a certificate, with a binary secret.

Request

Supported Media Types
Path Parameters
Query Parameters
Form Parameters
Body ()
Secret binary part of the credential pair
Root Schema : InputStream
Type: object
Back to Top

Response

Supported Media Types

200 Response

JSON map with the ID of the updated credential pair

401 Response

Credential with the given ID does not exist, or the username parameter is not present, or the application is not allowed to access that credential
Back to Top