Update paste
PATCH
/api/paste/{id}
Updates the name, content, or syntax type of a paste.
Authorizations
Token
Format: token <value>. Types: user (session) or uploader (API token).
Type
API Key (header: Authorization)
Parameters
Path Parameters
id*
Type
Requiredstring
Request Body
application/json
JSON "name": "string", "content": "string", "type": "string"
{
}
Responses
OK
application/json
JSON "id": "string", "name": "string", "type": "string", "ownerId": "string", "content": "string", "shareId": "string", "createdAt": "string", "updatedAt": "string"
{
}
