Create API key for service user
Create a new API key for a service user.
The caller must have ManageAccountServiceUsers permission.
Authentication
AuthorizationBearer
Personal API Key (apk_user_) or Service API Key (apk_)
Path parameters
service_user_id
Service user ID (prefix: service-user-)
Request
This endpoint expects an object.
name
expires_at
Optional expiration as a UNIX timestamp in seconds. Must be in the future if provided.
Response
Successful Response
api_key_id
api_key_name
token
The raw API token. This is only shown once at creation/rotation time.
Errors
422
Unprocessable Entity Error