Grant a user account permission

post/tenant/account-scopes/grant

Request

  • Base URL: https://api.gravityads.dev (the document declares no server; this is the origin it was published from)
  • URL: https://api.gravityads.dev/tenant/account-scopes/grant
  • Auth: HTTP bearer

Request body

user_idstring required
platform_account_idstring required
permission'read' | 'draft' | 'approve' | 'execute' required
granted_bystring

Response

Account scope grant result

status'account_scope_granted' | 'account_scope_revoked' | 'account_scope_revoke_not_found' | 'account_scope_mutation_unconfigured' | 'account_scope_mutation_failed' | 'account_scope_mutation_degraded' required
tenant_idstring required
user_idstring
platform_account_idstring
permissionstring
revoked_countinteger
account_scope_countinteger
account_scopesobject[]
database_url_configuredboolean required
hosted_auth_contextobject
raw_secrets_returnedfalse required

Changes

No recorded changes to this operation across all 1 revision of this API.