TeamCity REST API Reference 2023.05 Help

UserApprovalRule

Represents user approval rule and its current status for the given build.

Properties

Field

Data type

approved

boolean

user

User

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.

<userApprovalRule approved="true"> <user email="string" enabled2FA="true" hasPassword="true" href="string" id="123456789" lastLogin="string" locator="string" name="string" password="string" realm="string" username="string"> <properties>[[[properties...|properties.html]]]</properties> <roles>[[[roles...|roles.html]]]</roles> <groups>[[[groups...|groups.html]]]</groups> <avatars>[[[userAvatars...|useravatars.html]]]</avatars> </user> </userApprovalRule>
{ "approved" : true, "user" : "[[[user...|user.html]]]" }
Last modified: 13 June 2022