latestSwagger 2.02026-08-191,9198883.9 MB

b296c3a60aa5

UserRoles

Get a list of User Roles.

Lists all of the User Roles in the current Octopus Deploy instance. The results will be sorted alphabetically by name.

get/userroles

Query parameters

idsstring[]

A list of User Role IDs, to limit the result to those with a particular ID. Example: ["UserRoles-1", "UserRoles-2"]

partialNamestring

A partial name, to limit the result to those with a name that includes the partial name

skipinteger

Number of items to skip. Defaults to zero

takeinteger

Number of items to take. Defaults to 30

Response

Request list of user roles.

Idstring

Gets or sets a unique identifier for this resource.

ItemsPerPageinteger
ItemTypestring
LastModifiedBystring

Gets or sets the username of the user who last modified this resource.

LastModifiedOnstring date-time

Gets or sets the date/time that this resource was last modified.

LastPageNumberinteger
Linksobject

Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.

NumberOfPagesinteger
TotalResultsinteger