Delete the friendly link interface

API call address

{域名地址}/api/friendlink/delete?token={token}

illustrate:{域名地址}Need to replace it with your domain address.{token}Need to be replaced with the token in the background content import interface function, such as/api/friendlink/delete?token=xxx

Calling methods

POST form-data

Request parameters

GET parameters

Field name type Required illustrate
token string yes Token in the background content import interface function

POST parameters

Field name type Required illustrate
link string yes Links to the other party

Return parameters

Field name type illustrate
code int Error code
msg string Error Cause Description

Request data example

GET parameters

token=4712a54b4c456bb29b7816d241db69a7

POST parameters

parameter value
link /

Return to the data example

{
    "code": 0,
    "msg": "链接已删除"
}

Error code

Error code illustrate
0 OK
-1 Error, the cause of the error is pointed out in msg
1001 Not logged in
1002 Unauthorized
200 API request OK