Skip to main content
POST
Create
Service Users were previously called Bot Users. The Bot Users API still works, but it doesn’t support roles, and ngrok plans to remove it.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

ngrok-version
integer
default:2
required

Body

application/json
name
string

human-readable name used to identify the service

active
boolean

whether or not the service is active

roles
string[]

roles the service user holds. Defaults to developer. Any other choice needs a plan with role-based access control.

Response

Create a new service user

id
string

unique API key resource identifier

uri
string

URI to the API resource of this service user

name
string

human-readable name used to identify the service

active
boolean

whether or not the service is active

created_at
string

timestamp when the api key was created, RFC 3339 format

roles
string[]

roles the service user holds, in a fixed order. Accepts developer, developer-readonly, and team-manager. Roles limit the service user's access tokens. They do not limit its API keys.