Skip to main content
PATCH
Change a member's direct permissions
Dashboard session only. API keys cannot call this operation.

Authorizations

Authorization
string
header
required

Your API key in Authorization: Bearer <key>. Use vk_test_… keys against the sandbox and vk_live_… keys against production.

Path Parameters

partnerMembershipId
integer<uint64>
required

Membership id. Unsigned 64-bit integer (ids and large counters). May exceed 2^53; parse with a BigInt-safe JSON parser in JavaScript.

Required range: 0 <= x <= 18446744073709552000

Body

application/json

Direct permissions (replaced as a whole). Groups are changed on the group.

directPermissions
string[]
required

The member's new direct permissions (at most 100).

Maximum array length: 100

A permission (role) key such as view-consumer-catalog or create-consumer-redemptions. See Permissions and scopes and GET /partner/v1/permissions.

Pattern: ^[a-z][a-z0-9-]*$

Response

OK

Single-object envelope around a PartnerMembership.

data
object
required

A user's membership in your partner.