Create a machine user
Creates a team-owned identity with an optional first API key returned only once.
Authorizations
Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.
Body
Name of the machine user, unique within the team. At most 255 characters.
1 - 255"night-shift"
Identifier of the team that owns the machine user. Defaults to your only team, if you belong to exactly one.
1"abc1234"
When set, also creates the machine user's first API key.
Response
Stable machine user identifier. Grid usage and settings identify the machine user by this ID as its user_id.
Name of the machine user, unique within its team.
Identifier of the team that owns the machine user.
Name of the team that owns the machine user.
Creation time, ISO 8601.
ID of the user who created the machine user. Null when unknown.
The first API key, returned only once. Null unless the request set api_key.