network
Replace network IAM roles
Replace all IAM role assignments on this network. Existing roles not included in the request are removed.
put/api/v2/network/{id}/iam
Request
- Base URLhttps://central.zerotier.com
- AuthHTTP bearer
Path parameters
idstring required
The network ID
Request body
Example request
[
{
"principal": "alice@example.com",
"roles": [
"Admin"
]
},
{
"principal": "bob@example.com",
"roles": [
"Viewer"
]
}
]Response
Network IAM roles replaced
Example response
{
"message": "success"
}Changes
No recorded changes to this operation across all 1 revision of this API.