Skip to main content
POST
Give the account access to a store of the organization (org admin)

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <token>. The token is either a user token / OAuth access token, or a service-account API key (cfk_...). A key is valid on every endpoint and acts as its service account, an organization member with per-store permissions. Refused keys answer 403 with Invalid API key., API key revoked., API key expired. or API key disabled..

Path Parameters

id
string<uuid>
required
user_id
string<uuid>
required

Body

application/json
project
string<uuid>
required
permissions
enum<string>[]
required
Minimum array length: 1
Available options:
CAN_PERFORM_ADMIN_ACTIONS,
CAN_VIEW_DATA,
CAN_IMPERSONATE_OTHER_USERS
profile
enum<string>
default:tech
Available options:
tech,
contributor,
user

Response

Access granted.

id
string<uuid>
project
string<uuid>
project_name
string
permissions
string[]
profile
enum<string>
Available options:
tech,
contributor,
user