Update an API key

Updates an existing API key.

PUT /api/management/security/apiKeys/{apiKeyId}

Example request

PUT: /api/management/security/apiKeys/8f3dad0f-9ac3-450f-a825-0457542c04c7

{
    "name": "Main website",
    "description": "Allows read/write for website project and also access to internal for meeting information",
    "enabled": false,
    "scopes": [
        "delivery_website",
        "management_website",
        "delivery_internal"
    ]
}

Response message

HTTP status code Reason Response model
200 OK Api key
401 Unauthorized Error
403 Forbidden Error
422 ValidationError Error
500 InternalServerError Error

results matching ""

    No results matching ""