latestOpenAPI 3.1.02026-08-20118232229.3 KB

0e42b0fb26d9

Create service account

Create a new service account in the current account. Team admin only.

post/service-accounts

Request body

$schemastring uri

A URL to the JSON Schema for this object.

metadatastring

Optional, customer-supplied JSON metadata.

namestring required

Human-readable name for the service account. Must be unique within the account.

role'admin' | 'developer' required

The team role this service account acts as.

Example request

{
  "$schema": "https://api.tower.dev/v1/schemas/CreateServiceAccountParams.json"
}

Response

Created

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "https://api.tower.dev/v1/schemas/CreateServiceAccountResponse.json"
}