Machine users
6 endpoints under /api/v1/machine-users.
List the organization's machine users (and their tokens)
Responses
200 Automation identities of the active organization.
Response body
machineUsersMachineUser[]requiredShow fields
userIdstringrequirednamestringrequiredcreatedBystringrequiredcreatedAtstring · date-timerequiredtokensMachineToken[]requiredShow fields
idstringrequirednamestringrequiredstartstringrequiredenabledbooleanrequiredcreatedAtstring · date-timerequiredexpiresAtstring · date-timerequiredlastRequeststring · date-timerequired
401 Unauthenticated.
Response body
errorstringrequired
403 Requires an owner/admin of the organization.
Response body
errorstringrequired
404 Unknown machine user or token.
Response body
errorstringrequired
Create a machine user
Request body
namestringrequired
Responses
201 Created — a credential-less identity; mint tokens to use it.
Response body
userIdstringrequirednamestringrequiredcreatedBystringrequiredcreatedAtstring · date-timerequiredtokensMachineToken[]requiredShow fields
idstringrequirednamestringrequiredstartstringrequiredenabledbooleanrequiredcreatedAtstring · date-timerequiredexpiresAtstring · date-timerequiredlastRequeststring · date-timerequired
401 Unauthenticated.
Response body
errorstringrequired
403 Requires an owner/admin of the organization.
Response body
errorstringrequired
404 Unknown machine user or token.
Response body
errorstringrequired
Delete a machine user (and all its tokens)
Parameters
-
idpath string required
Responses
204 Deleted.
401 Unauthenticated.
Response body
errorstringrequired
403 Requires an owner/admin of the organization.
Response body
errorstringrequired
404 Unknown machine user or token.
Response body
errorstringrequired
Mint a token for a machine user
Parameters
-
idpath string required
Request body
namestringrequiredexpiresIninteger
Responses
201 The token — shown once, store it safely.
Response body
idstringrequiredkeystringrequired
401 Unauthenticated.
Response body
errorstringrequired
403 Requires an owner/admin of the organization.
Response body
errorstringrequired
404 Unknown machine user or token.
Response body
errorstringrequired
Deactivate or reactivate a machine token
Parameters
-
idpath string required -
tokenIdpath string required
Request body
enabledbooleanrequired
Responses
204 Updated.
401 Unauthenticated.
Response body
errorstringrequired
403 Requires an owner/admin of the organization.
Response body
errorstringrequired
404 Unknown machine user or token.
Response body
errorstringrequired
Delete a machine token
Parameters
-
idpath string required -
tokenIdpath string required
Responses
204 Deleted.
401 Unauthenticated.
Response body
errorstringrequired
403 Requires an owner/admin of the organization.
Response body
errorstringrequired
404 Unknown machine user or token.
Response body
errorstringrequired