Appearance
Delete a token
About 142 wordsLess than 1 minute
apiAuthenticationToken
2025-03-13
MethodPOST
Request URL
`/plugin/datafor-modeler/api/token/delete`
Authorization
Use of this API requires authentication. For details about the authentication method, see
Authorization.
Content Typeapplication/x-www-form-urlencoded
Preconditions
- The current user's type must be Administrator.
Request Example
name: ERP
Params
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | no | Token deletion payload |
» name | body | string | no | The name of the token to delete |
Response Examples
{
"success": true
}
HTTP Responses
HTTP Status Code | Meaning | Description | Data schema |
---|---|---|---|
200 | OK | Request successful | Inline |
Response Data Schema (HTTP 200)
Name | Type | Required | Restrictions | Title | Description |
---|---|---|---|---|---|
success | boolean | Yes | none | Success | Indicates success (true/false) |
msg | string | No | none | Message | Error message if applicable |