Administración de acceso
/v1/admin/consumersScope: platform:admin.
Authorization
KilaApiKey Credencial privada del consumidor. Nunca la expongas en un navegador ni en una app cliente.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/admin/consumers" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "correlation_id": "string", "data": { "consumer": { "created_at": "2019-08-24T14:15:22Z", "id": "string", "name": "string", "status": "string", "updated_at": "2019-08-24T14:15:22Z" } }}/v1/admin/consumers/{consumer_id}/credentialsScope: platform:admin.
Authorization
KilaApiKey Credencial privada del consumidor. Nunca la expongas en un navegador ni en una app cliente.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/admin/consumers/string/credentials" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "scopes": [ "string" ] }'{ "correlation_id": "string", "data": { "credential": { "api_key": "string", "consumer_id": "string", "created_at": "2019-08-24T14:15:22Z", "id": "string", "key_prefix": "string", "name": "string", "scopes": [ "string" ], "status": "string", "updated_at": "2019-08-24T14:15:22Z" } }}/v1/admin/consumers/{consumer_id}/credentials/{credential_id}/revokeScope: platform:admin.
Authorization
KilaApiKey Credencial privada del consumidor. Nunca la expongas en un navegador ni en una app cliente.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/admin/consumers/string/credentials/string/revoke"{ "correlation_id": "string", "data": { "credential": { "consumer_id": "string", "created_at": "2019-08-24T14:15:22Z", "id": "string", "key_prefix": "string", "name": "string", "scopes": [ "string" ], "status": "string", "updated_at": "2019-08-24T14:15:22Z" } }}