action contract_p_get_api_keys_inbox_resource { label: "Get all API-Keys for this inbox" description: "**Permission required:** view_api_keys" provider: contract_p method: GET path: "/auth/api-key/inbox/{inbox_id}" encoding: json input: { type: "object" properties: { "X-Fields": { type: "string" format: "mask" } } additionalProperties: false } output: { type: "array" items: { type: "object" required: ["active", "token", "user"] properties: { active: { type: "boolean" description: "Is the API Key active or not" } expire_at: { type: "string" format: "date-time" description: "The date at which the API Key will expire" } roles: { type: "array" description: "the user roles" items: { type: "object" required: ["role"] properties: { document_id: { type: "string" description: "limited to a document" } inbox: { type: "string" } role: { type: "string" } } } } token: { type: "string" description: "Token value" } user: { type: "string" description: "Bearer user" } } } } }