service-account

Create service account

Create a new service account in an organization. Service accounts are used for programmatic API access.

post/api/v2/org/{id}/service-account

Request

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

Path parameters

idstring required

The organization ID

Request body

idstring required
namestring required
descriptionstring

Example request

{
  "id": "ci-deploy",
  "name": "CI Deploy Bot",
  "description": "Used by the CI pipeline to manage networks"
}

Response

Created service account

idstring required
namestring required
descriptionstring required
orgIdstring required
creationTimestring date-time required

Time the service account was created

lastModifiedstring date-time required

Time the service account was last modified

Changes

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