Skip to main content

Update an Access Key

PUT 

/v1/providers/:provider_id/orgs/:org_id/key

Updates the access key details like user role and bucket access permissions.

Request

Path Parameters

    provider_id stringrequired

    Provider ID

    org_id stringrequired

    Organization ID

Body

required

    user_id stringrequired

    ID of the user for whom the access key is being updated

    id stringrequired

    Access key ID

    user_role OrgMembership (string)

    Possible values: [Admin, Member]

    Role assigned to the user in the organization

    buckets_roles

    object[]

  • Array [

  • bucket_name stringrequired

    Name of the bucket

    role stringrequired

    Possible values: [ReadOnly, Editor, Admin]

    The role assigned to the access key defines the permissions (read, write, admin) for the associated bucket.

  • ]

Responses

OK

Schema

    object

Loading...