Deregister Mcp Tenant
DELETE
/v1/tenants/{tenant_id}/mcp-registration
const url = 'https://api.uavcrew.ai/v1/tenants/example/mcp-registration';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.uavcrew.ai/v1/tenants/example/mcp-registration \ --header 'Authorization: Bearer <token>'Accept K4 deregistration from the client provisioning flow.
With dynamic K4 resolution, there is nothing to remove from the MCP Gateway — K4 was never stored there. The client revokes K4 on its own side.
This endpoint exists so the client provisioning flow succeeds.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”tenant_id
required
Tenant Id
string
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
MCPRegistrationResponse
object
tenant_id
required
Tenant Id
string
action
required
Action
string
message
required
Message
string
Example generated
{ "tenant_id": "example", "action": "example", "message": "example"}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}