interface AssignPermissionScheme {
    expand?: string | string[] | ("all" | "user" | "group" | "field" | "projectRole" | "permissions")[];
    id: number;
    projectKeyOrId: string;
}

Hierarchy (view full)

Properties

expand?: string | string[] | ("all" | "user" | "group" | "field" | "projectRole" | "permissions")[]

Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are included when you specify any value. Expand options include:

  • all Returns all expandable information.
  • field Returns information about the custom field granted the permission.
  • group Returns information about the group that is granted the permission.
  • permissions Returns all permission grants for each permission scheme.
  • projectRole Returns information about the project role granted the permission.
  • user Returns information about the user who is granted the permission.
id: number

The ID of the permission scheme to associate with the project. Use the Get all permission schemes resource to get a list of permission scheme IDs.

projectKeyOrId: string

The project ID or project key (case sensitive).