Assign Permission Profiles To User Group
post
/api/restapi/project/assignUserGroup
Use this endpoint to assign project permission profiles to multiple user groups.
Request
Header Parameters
-
singleTransaction: boolean
Enabling this boolean flag fails to complete the request if an error occurred when validating any user permission profile sent as part of the request.
Allowed Values: [ "true", "false" ]Default Value:false
Supported Media Types
- application/json
Root Schema : ApiEntityProjectUserGroupPermissionInput
Type:
object
Title:
Show Source
ApiEntityProjectUserGroupPermissionInput
-
profiles: array
profiles
List of user profiles.
-
projectCode: string
Maximum Length:
60
The unique identifier for a project set by the user who created the project. -
projectId: integer
(int64)
The unique identifier for the project.
-
workspaceCode: string
Maximum Length:
60
The user-specified identifier of a workspace. -
workspaceId: integer
(int64)
The unique identifier for the workspace.The workspace object can also be identified by its unique criteria.
Nested Schema : profiles
Type:
array
List of user profiles.
Show Source
-
Array of:
object ApiEntityProjectUserGroupProfileInput
Title:
ApiEntityProjectUserGroupProfileInput
Nested Schema : ApiEntityProjectUserGroupProfileInput
Type:
object
Title:
Show Source
ApiEntityProjectUserGroupProfileInput
-
customLogProfileId: string
Maximum Length:
255
System-defined identifier of the custom log profile. -
fileProfileId: string
Maximum Length:
255
System-defined identifier of the document profile. -
projectProfileId: string
Maximum Length:
255
System-defined identifier of the project profile. -
reportProfileId: string
Maximum Length:
255
System-defined identifier of the report profile. -
userGroupId: string
System-defined identifier of the user group.
Response
Supported Media Types
- application/json
207 Response
The object was successfully integrated.
Root Schema : ApiEntityProjectUserPermissionsResponse
Type:
object
Title:
Show Source
ApiEntityProjectUserPermissionsResponse
-
profiles: array
profiles
Profiles response with individual message and statusCodes.
-
projectId: integer
(int64)
The unique identifier for the project.
Nested Schema : profiles
Type:
array
Profiles response with individual message and statusCodes.
Show Source
-
Array of:
object ApiEntityProfileResponse
Title:
ApiEntityProfileResponse
Nested Schema : ApiEntityProfileResponse
Type:
object
Title:
Show Source
ApiEntityProfileResponse
-
message: string
Error message or reason for operation failure is populated. The field is non-persistable and thus maximum length is not applicable.
-
profileId: string
Maximum Length:
255
The system-defined unique identifier of an object profile. -
statusCode: integer
(int32)
The response code representing the state of the API operation.
-
userName: string
Maximum Length:
255
Username of the user for permission assignment.
400 Response
Invalid input for the Project service.