Api::V1::Entourages::UsersController API

Users

Update user joined status (deprecated)

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

Parameters

Name Description
token token
entourage_id entourage
id User id
user[status] User status

Request

Headers

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

Route

PATCH /api/v1/entourages/9/users/31

Body

{"token":"foobar29","user":{"status":"accepted"}}

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
Cache-Control: no-cache
X-Request-Id: 2fa9106f-c04e-4259-93a2-3e24b7c8b3a5
X-Runtime: 0.008679

Status

204 No Content