Skip to main content
POST
/
api
/
v1
/
teams
/
{team_id}
/
hubs
/
{hub_id}
/
access-overrides
Create Override
curl --request POST \
  --url https://api.member.dev/api/v1/teams/{team_id}/hubs/{hub_id}/access-overrides \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '
{
  "data": {
    "attributes": {
      "contact_id": "<string>",
      "scope": "<string>",
      "expires_at": "2023-11-07T05:31:56Z",
      "product_id": "<string>",
      "reason": "<string>"
    },
    "type": "<string>"
  }
}
'
{
  "data": {
    "attributes": {
      "contact_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "expires_at": "2023-11-07T05:31:56Z",
      "granted_by": "<string>",
      "hub_id": "<string>",
      "product_id": "<string>",
      "reason": "<string>",
      "scope": "<string>",
      "team_id": "<string>",
      "updated_at": "2023-11-07T05:31:56Z"
    },
    "id": "<string>",
    "type": "access_overrides"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

team_id
string
required
hub_id
string
required

Body

application/vnd.api+json
data
OverrideCreateResource · object
required

Response

Successful Response

data
OverrideResource · object
required