Api::V1::UsersController API

Users

Redirect to organization admin

GET /api/v1/organization_admin_redirect

Parameters

Name Description
id id
token token
message webapp_logout or nil

Request

Headers

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

Route

GET /api/v1/organization_admin_redirect?id=199&token=foobar196&message=message

Query Parameters

id: 199
token: foobar196
message: message

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
Location: http://example.org/localhost/auth?auth_token=1_199-1654183012-56cb6ec461d50c217b792aec281ed77c58507f4c
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
X-Request-Id: e882529b-1d65-4fef-b2b6-0ddcb0c93e33
X-Runtime: 0.004748
Content-Length: 168

Status

302 Found

Body

<html><body>You are being <a href="http://example.org/localhost/auth?auth_token=1_199-1654183012-56cb6ec461d50c217b792aec281ed77c58507f4c">redirected</a>.</body></html>