Update Source Schema (Full)
PUT/sources/:sourceId/schemas/:schemaId
This API will completely replace an existing Schema with the submitted payload. Some fields of the Schema cannot be updated. These fields are listed below.
- id
- name
- created
- modified
Any attempt to modify these fields will result in an error response with a status code of 400.
id
must remain in the request body, but it cannot be changed. Ifid
is omitted from the request body, the result will be a 400 error.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
The Schema was successfully replaced.
Client Error - Returned if the request body is invalid.
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
Not Found - returned if the request URL refers to a resource or object that does not exist
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
Internal Server Error - Returned if there is an unexpected error.