Skip to main content
POST
/
v1
/
entities
/
{entityId}
/
permissions
Add permissions to an Entity
curl --request POST \
  --url https://api.traxes.io/connect/v1/entities/{entityId}/permissions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "permissionLevel": "Viewer",
  "principalId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "errors": [
    {
      "code": "<string>",
      "description": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Access Token Authentication

Path Parameters

entityId
string<uuid>
required

The id of the Entity

Body

The permissions to add

A request to add permissions

permissionLevel
enum<string>

The available Permission Levels.

Available options:
Viewer,
Contributor,
Administer,
Owner
principalId
string<uuid>

The id of the Principal

Response

OK