Provide the API Key you wish to delete, and the backend will remove it. Please manage and remove unnecessary API Keys in a timely manner to avoid reaching limits.Request Rate Limit: 50 QPS
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/x-www-form-urlencoded
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.ohmygpt.com/api/v1/user/admin/del-api-token' \
--data-urlencode'key=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'
Responses
🟢200成功
application/json
Body
Example
{"statusCode":200,"message":"Delete api key success","data":null}