Skip to content

Disable author

PUT
/api/events/{id}/disable_author

Disable the author of specified event.

Authorizations

bearerAuth

Bearer token using a JWT

Type
HTTP (Bearer)

Parameters

Path Parameters

id*
Type
integer
Required
Example1

Responses

The author that has been disabled.

application/json
JSON
{
  
"id": 1,
  
"email": "example@gancio.org",
  
"description": "Example user",
  
"is_active": true,
  
"to_notify": true,
  
"role": "user",
  
"createdAt": "2020-01-29T18:10:16.630Z",
  
"updatedAt": "2020-01-30T22:42:14.789Z"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI