Update Article
PATCH/api/content/articles/:key
Update an existing article with given key.
You can find more information about articles here.
Locale
The locale in the request body specifies which translation should be updated.
The locale query parameter specifies which translation should be returned.
If no locale is specified, the applications default locale will be used. You can learn more about configuring the default locale here.
Tokens
- A valid
AccessTokenof a user withEDITORaccess on this article is required.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The updated article.
The following error codes correspond to this status:
INVALID_REQUEST: Invalid request.
The following error codes correspond to this status:
ACCESS_TOKEN_EXPIRED: Indicates that the access token is expired.ACCESS_TOKEN_INVALID: Indicates that the access token cannot be decoded.AUTHENTICATION_REQUIRED: User is not authenticated.
The following error codes correspond to this status:
NOT_AUTHORIZED: Action not authorized.
The following error codes correspond to this status:
CONTENT_NOT_FOUND: Content not found.
The following error codes correspond to this status:
ACCESS_TOKEN_ALLOWLIST_READING_FAILURE: Represents an exception indicating a failure when reading the allowlist for an access token cache.DATABASE_FAILURE: Exception representing a general failure related to database operations.INVALID_DOCUMENT: Invalid document.NO_TRANSLATIONS: Exception indicating that no translations are available for a given request.RESPONSE_MAPPING_FAILURE: Response mapping failure.