-
Notifications
You must be signed in to change notification settings - Fork 3
Delete ApiKey
Ronen Nachmias edited this page Jul 12, 2017
·
4 revisions
Usecase:
As an organization member i want to delete an api-key. i am required to provide the Organization id and name of the api-key.
Request:
POST /account/organization/api-key/delete
{
"organizationId":"ORG-F5F2368AD9DC827E6287",
"apiKeyName":"my-read-only"
"token":{
"origin":"google",
"token":<google_token_id>
}
}
Response: Status: 200 OK
{
"apiKeys":[{
"name":"my-read-only",
"claims":{"permissions-level":"read"},
"key":"eyJhbGciOi.......coLKzGG7yh9deAPUAL1w"
}],
"id":"ORG-F5F2368AD9DC827E6287",
"name":"test-org",
"email":"test@email.com",
"ownerId":"107014542032303883606"
}