Modify an existing credential pair
put
/design/-/resources/tenant/securestorage/{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 certificate, with binary secret.
Request
Supported Media Types
- application/x-www-form-urlencoded
- multipart/form-data
Path Parameters
-
credentialId(required): string
ID of the credential to be updated
Form Parameters
-
token: string
Secret part of the credential pair
-
userName(required): string
Public part of the credential pair
Secret binary part of the credential pair
Root Schema : InputStream
Type:
object
Response
Supported Media Types
- application/json
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