Delete API Keys Private Preview
Deletes all API keys for the specified user.
Note: Only a regular user can perform this operation.
Request schema
Path parameters
userId
stringrequired
The unique identifier for the user within the account.
example:
userId
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Accept
string
default:
application/json
example:
application/json
Http + 1.1
DELETE
https://api.fivetran.com/v1/users/userId/api-keys
DELETE /v1/users/userId/api-keys HTTP/1.1 Accept: application/json Authorization: BasicHost: api.fivetran.com
Responses
200
Successful response
404
User not found
200
code
stringrequired
Response status code
example:
Success
message
stringrequired
Response status text
example:
API key deleted for service account user with id='string'
{ "code": "Success", "message": "API key deleted for service account user with id='string'" }