Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.15 KB

update-key.md

File metadata and controls

36 lines (28 loc) · 1.15 KB
description
Updates an existing API key.

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