This is a PUT request and it is used to overwrite an existing piece of data. For instance, after you create an entity with a POST request, you may want to modify that later. You can do that using a PUT request. You typically identify the entity being updated by including an identifier in the URL (eg. id=1).A successful PUT request typically returns a 200 OK, 201 Created, or 204 No Content response code.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
Header Params
Body Params application/json
Examples
Responses
🟢200Success
application/json
Body
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://connect.dispatchable.com/tasks/api/v1/tasks/123?id=1' \
--header'Accept: application/json' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data-raw'{
"name": "Add your name in the body"
}'