Delete Permission

Last Updated on : 2023-07-06 09:14:20download

Delete the information about the specified permission based on the permission code.

API address

DELETE: /v1.0/iot-02/permissions/{permission_code}

Request parameter

Parameter nameTypeINRequiredDescription
permission_codeStringuritrueThe identifier of a permission.

Return parameter

Parameter nameTypeDescription
resultBooleanIndicates whether the operation is successful. Valid values:
  • true: Deleted successfully.
  • false: Failed to delete it.

Request example

DELETE: /v1.0/iot-02/permissions/permissionCodepHhD****

Return example

{
    "tid": "527ca42d948811ec82481264f1be8bd1",
    "result": true,
    "t": 1645607376381,
    "success": true
}

Error code

For more information, see error code.