Token
A personal access token that users can issue on the 'Access Tokens` tab of their user profile pages.
Properties
name
The public access token name.
creationTime
The timestamp of a moment when this access token was created.
value
The token value that should be used instead of a password when logging in TeamCity, or sent in the 'Authorization: Bearer' header when using REST API. For security, TeamCity displays a token value only once — at creation — and never returns it for existing tokens.
expirationTime
The timestamp of token expiration, or null if this is a permanent token that never expires.
permissionRestrictions
A collection of per-project permissions granted to a client that uses this token, or null if the access token has same permissions as the user who issued it.
Schema
Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET and use the response as a base for the following POST request.
A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.