Assign Permission To Role

01/19/2021 | Less than 1 minute to read

Info Note

API TYPE: PUT
End Point: PUT /permission
Description: Assign Permission To Role

Request(Assign permission to Role)

01/19/2021 | Less than 1 minute to read



{
   "data": [
      { 
     "uuid":"string",
    "roleUuid":"string",
    "permissionUuid":"string",
    "serviceUuid":"string",
    "isAssignedPermission":"string"
      } 
],
}

 
}

Response(Assign Permission To Role)

01/19/2021 | Less than 1 minute to read



{

  "data": [

    {}

  ],

  "metadata": {

    "fileCodeUuid": "string",

    "orgUuid": "string",

    "userUuid": "string"

  },

  "statusCode": "OK"

}

ErrorCode(Assign Permission To Role)

01/19/2021 | 2 minutes to read

HTTP Status Code Reason
200 We received the request and created Successfully
400 CCP-HTTP-003 | Request method not supported
401 You are not authorized to view the resource
403 Accessing the resource you were trying to reach is forbidden
404 The resource you were trying to reach is not found

©2024 Developer.CSensorNet.com. All rights reserved | Powered by www.clovity.com