# Function Description

To delete resource

# Request

# request example

POST /resource/delete HTTPS
Host: <host>
Content-Type: application/json
Authorization: <AuthString>

# Request Headers

Name Description Type Mandatory
Authorization User token information string true

# Request Parameters


# Request Body

request body is Json character string ,for example:

  "resourceId": 1,
  "projectId": 1
Field explain type Mandatory
resourceId resource id long true
projectId project id,and if project id is not null,which represents record of middle table has been deleted,otherwise,the resource table has been deleted. long false

# Response

# Response Header

No special response header

# Response Body

Successful Response Body :

  "code": 0,
  "enMsg": "success",
  "msg": "成功",
  "data": null

Failed Response Body:

  "code": <errorCode>,
  "enMsg": <errorMessage>,
  "msg": <errorMessage>,
  "data": null