Skip to main content

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

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

OK

Schema

    new_secretstring

    Rotated access key secret