Api::V1::Entourages::UsersController API

Users

Delete user joined status

DELETE /api/v1/entourages/:entourage_id/users/:id

Parameters

Name Description
token token
entourage_id entourage
id User id

Request

Headers

Content-Type: application/json
Host: example.org
Cookie: 

Route

DELETE /api/v1/entourages/10/users/36

Body

{"token":"foobar34"}

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET,POST,PUT,PATCH,DELETE
Access-Control-Allow-Headers: Origin,Accept,Content-Type,X-Requested-With,X-CSRF-Token,X-API-KEY
Content-Type: application/json; charset=utf-8
ETag: W/"471b628426d2ef2a14d5baabcc4bbf83"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 3f7ae7eb-2639-416e-a18f-bc0f7bc18b52
X-Runtime: 0.016598
Content-Length: 248

Status

200 OK

Body

{
  "user": {
    "id": 36,
    "display_name": "John D.",
    "role": "member",
    "group_role": "member",
    "community_roles": [

    ],
    "status": "not_requested",
    "message": null,
    "requested_at": "2022-06-02T17:16:42.789+02:00",
    "avatar_url": null,
    "partner": null,
    "partner_role_title": null
  }
}