network-group

Add network group IAM roles

Grant additional IAM roles to users on this network group without replacing existing roles.

post/api/v2/network-group/{id}/iam

Request

  • Base URL
    https://central.zerotier.com
  • Auth
    HTTP bearer

Path parameters

idstring required

The network group ID

Request body

principalstring email required

Email address of the user or service account to assign roles to

rolesIamRole[] required

One or more roles to assign to the principal

Example request

[
  {
    "principal": "alice@example.com",
    "roles": [
      "Admin"
    ]
  },
  {
    "principal": "bob@example.com",
    "roles": [
      "Viewer"
    ]
  }
]

Response

Network group IAM roles updated

messagestring required

Human-readable confirmation message

Example response

{
  "message": "success"
}

Changes

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