Assign Permission Profiles To User
post
/api/restapi/customLogTypeObject/assignUser
Use this endpoint to assign custom log type object permission profiles to multiple user.
Request
Header Parameters
-
singleTransaction:
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 : ApiEntityCustomLogTypeObjectUserPermissions
Type:
object
Title:
Show Source
ApiEntityCustomLogTypeObjectUserPermissions
-
customLogTypeObjectId: integer
(int64)
The system-generated identifier of custom log type object.
-
customLogTypeObjectName(required): string
Minimum Length:
0
Maximum Length:255
The user-defined identifier of a custom log type object. -
link: string
(url)
Read Only:
true
The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
profiles: array
profiles
List of user profiles.
-
scope(required): string
Maximum Length:
40
Allowed Values:[ "project", "program", "workspace" ]
The scope of an object. -
scopeCode: string
Maximum Length:
60
The user-defined identifier of a reference to another object. -
scopeId(required): integer
(int64)
The system-generated identifier of a reference to another object.
-
updateDate: string
(date-time)
Read Only:
true
Date when the record was last updated. -
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 ApiEntityCustomLogTypeObjectProfileInput
Title:
ApiEntityCustomLogTypeObjectProfileInput
Nested Schema : ApiEntityCustomLogTypeObjectProfileInput
Type:
object
Title:
Show Source
ApiEntityCustomLogTypeObjectProfileInput
-
customLogTypeObjectProfileId: integer
(int64)
System-defined identifier of the document profile.
-
link: string
(url)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
updateDate: string
(date-time)
Date when the record was last updated.
-
userName: string
Maximum Length:
255
Username of the user for permission assignment.
Examples
Back to Top
Response
Supported Media Types
- application/json
207 Response
The object was successfully integrated.
Root Schema : ApiEntityCustomLogTypeObjectUserPermissionsResponse
Type:
object
Title:
Show Source
ApiEntityCustomLogTypeObjectUserPermissionsResponse
-
customLogTypeObjectId: integer
(int64)
The unique identifier for the project.
-
link: string
(url)
Read Only:
true
The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
profiles: array
profiles
Profiles response with individual message and statusCodes.
-
updateDate: string
(date-time)
Read Only:
true
Date when the record was last updated.
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 custom log type object service.