Permissions
This resource lets you work with permissions in YouTrack.
Resource | /api/permissions |
|---|---|
Returned entity | Permission. For the description of the entity attributes, see Supported Fields section. |
Supported methods |
Permission attributes
Represents a permission in YouTrack.
Attributes
This table describes attributes of the Permission entity.
To receive an attribute in the response from the server, specify it explicitly in the
fieldsrequest parameter.To update an attribute, provide it in the body of a POST request.
Field | Type | Description |
|---|---|---|
id | String | The ID of the permission. |
name | String | The name of the permission. |
description | String | The description of the permission. |
permissionEntityType | String | The type of the entity this permission applies to. |
operation | String | The operation name associated with the permission. |
impliedPermissions | The list of permissions implied by this permission. | |
dependentPermissions | The list of permissions that depend on this permission. | |
scope | PermissionScope | The scope of the permission. Possible values: Global, Organization, Project. |
Read a List of Permissions
Get all permissions.
Required permissions
Available for any authenticated user.
Request syntax
null | The database ID of Permission |
|---|
Request parameters
Parameter | Type | Description |
|---|---|---|
fields | String | A list of Permission attributes that should be returned in the response. If no field is specified, only the |
$skip | Int | Optional. Lets you set a number of returned entities to skip before returning the first one. |
$top | Int | Optional. Lets you specify the maximum number of entries that are returned in the response. If you don't set the $top value, the server limits the maximum number of returned entries. The server returns a maximum of 42 entries for most resources that return collections. For more information, see Pagination. |