Rotates Access Key secret
POST/v1/providers/:provider_id/orgs/:org_id/key/rotate
Rotates the access key secret for a user. The old secret will be invalidated, and the new secret will be returned in the response.
Request
Path Parameters
provider_id stringrequired
Provider ID
org_id stringrequired
Organization ID
- application/json
Body
required
user_idstringrequired
ID of the user for whom the access key is being updated
idstringrequired
Access key ID
user_roleOrgMembership (string)
Role assigned to the user in the organization
Possible values: [Admin
, Member
]
Responses
- 200
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
new_secretstring
Rotated access key secret
{
"new_secret": "string"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
Schema
messagestring
{
"message": "string"
}