Update info for a specific security role

PATCH {{baseUrl}}/api/securityRoles/:id

Update information for a specific security role. You obtain the authorization token needed to execute the request using POST /auth/login; you pass the authorization token in the request header. You identify the security role to update by specifying the security role ID in the path of the request; you obtain the security role ID using GET /securityRoles. You provide the information to update the security role in the body parameter of the request.

Request Params

KeyDatatypeRequiredDescription
fieldsstringComma-separated, top-level field whitelist that allows the client to selectively retrieve part of the response model. If specified, extra filtering is applied, and for top-level object (if root model is an array, each array element), only the listed fields are kept in the response. For example, "id,elements" keeps only the "id" field and whole "elements" array field, omitting all other fields in the top-level response model.

Request Body

{"operationList"=>[{"op"=>"replace", "path"=>"/members", "value"=>{"projectId"=>"{{projectId}}", "memberIds"=>["{{rd_userId}}"]}}]}

HEADERS

KeyDatatypeRequiredDescription
X-MSTR-AuthTokenstring(Required) Authorization token
Content-Typestring