KilaSifen Docs

Administración de acceso

POST/v1/admin/consumers

Scope: platform:admin.

Authorization

KilaApiKey
X-API-Key<token>

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"    }  }}
POST/v1/admin/consumers/{consumer_id}/credentials

Scope: platform:admin.

Authorization

KilaApiKey
X-API-Key<token>

Credencial privada del consumidor. Nunca la expongas en un navegador ni en una app cliente.

In: header

Path Parameters

consumer_id*Consumer Id

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"    }  }}
POST/v1/admin/consumers/{consumer_id}/credentials/{credential_id}/revoke

Scope: platform:admin.

Authorization

KilaApiKey
X-API-Key<token>

Credencial privada del consumidor. Nunca la expongas en un navegador ni en una app cliente.

In: header

Path Parameters

consumer_id*Consumer Id
credential_id*Credential Id

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"    }  }}