Employee Identity (EIAM)

Delete To-Do

Interface

# Permissions {/permissions/}

The Identity Management API authorizes permissions at the application dimension. Before calling an interface, you need to set interface permissions for different applications. For details, please refer to API Permissions.

Permission Code Description
app_todo_msg Application-side task to-do management permission
all Full interface read/write permissions

# Request Description {/request-description/}

DELETE https://{your_domain}/api/v2/tenant/todo/task/{todo_id}

# Request Headers {/request-headers/}

Parameter Name Chinese Name Required Type Description
Authorization Authorization Yes String Format: Bearer {access_token}
Content-Type Content Type Yes String Fixed value: application/json; charset=utf-8

# Request Example {/request-example/}

None

# Request Parameters {/request-parameters/}

Parameter Name Chinese Name Required Type Description
todo_id To-Do ID Yes String To-Do ID

# Response Example

Success Example:
HTTP/1.1 200 OK
Content-Type: application/json


Error Example:
HTTP/1.1 400 Bad Request
{
  "error_code": "TODOTASK.0001",
  "error_msg": "Todo does not exist"
}
1
2
3
4
5
6
7
8
9
10
11

# Response Parameters

None

# Error Codes

Status Code Error Code Error Message Handling Action
402 TODOTASK.0001 Todo does not exist Please check if the corresponding todo exists
Todo does not exist