Delete Permission

Last Updated on : 2023-06-15 05:03:14

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.