Create a token for a specified service identity
- Print
- PDF
Create a token for a specified service identity
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Post
/api/users/{targetUserId}/tokens
The token has the same privileges assigned to the service identity. When this token is created, the old token associated with the identity provider is removed. An identity provider can have only one token at any given time. The generated token is returned only once.
Security
HTTP
Type bearer
Path parameters
targetUserId
stringRequired
Body parameters
object
id
string
name
string
expiresOn
string (date-time)
createdOn
string (date-time)
type
string
Valid values[ "DEFAULT", "SCIM", "ServiceIdentity" ]
tokenExpirationDays
integer (int32)
Any value between 1 and 90 days.
status
string
Valid values[ "Active", "Inactive" ]
lastAccessed
string (date-time)
assignedTo
string
token
string
createdBy
string
Responses
200
OK
object
Was this article helpful?