Assign Resources to Projects
post
/api/restapi/resource/assign/batch
Send a request to this endpoint assign multiple workspace resource to various projects.
The request body should contain a map where keys are system-generated identifiers of projects and values are lists of system-generated identifiers of resources or roles to be assigned.
Example: {"projectId1":[resourceId1,resourceId2],"projectId2":[resourceId3,resourceId4]}
The request body should contain a map where keys are system-generated identifiers of projects and values are lists of system-generated identifiers of resources or roles to be assigned.
Example: {"projectId1":[resourceId1,resourceId2],"projectId2":[resourceId3,resourceId4]}
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : String
Type:
string
Title:
String
Examples
Back to Top
Response
204 Response
Successful operation with no content.
404 Response
The requested workspace resource does not exist, or you do not have access to it.