network

Set user permissions on a network

Assign or update permissions for a specific user on a network. Use this endpoint to grant read, authorize, modify, or delete permissions.

post/network/{networkID}/users

Request

  • Base URL
    https://api.zerotier.com/api/v1
  • Auth
    HTTP token

Path parameters

networkIDstring required

ID of the network

Request body

idstring required

The user ID to set permissions for

rboolean

Read permission - allows viewing network settings

aboolean

Authorize permission - allows authorizing new members

mboolean

Modify permission - allows changing network settings

dboolean

Delete permission - allows removing members

Example request

{
  "id": "00000000-0000-0000-0000-000000000000",
  "r": true,
  "a": true,
  "m": false,
  "d": false
}

Response

Permissions updated successfully

idstring required

The user ID to set permissions for

rboolean

Read permission - allows viewing network settings

aboolean

Authorize permission - allows authorizing new members

mboolean

Modify permission - allows changing network settings

dboolean

Delete permission - allows removing members

Example response

{
  "id": "00000000-0000-0000-0000-000000000000",
  "r": true,
  "a": true,
  "m": false,
  "d": false
}

Changes

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