federations/{{ID}}/users/{{userID}}

DELETE

Removes a user from a federation.

Auth. Required:

Yes

Roles Required:

“admin”

Response Type:

undefined

Request Structure

Table 184 Request Path Parameters

Name

Description

ID

An integral, unique identifier for the federation from which the user identified by userID will be removed

userID

An integral, unique identifier for the user who will be removed from the federation identified by ID

#388 Request Structure
DELETE /api/3.0/federations/1/users/2 HTTP/1.1
Host: trafficops.infra.ciab.test
User-Agent: curl/7.62.0
Accept: */*
Cookie: mojolicious=...

Response Structure

#389 Response Example
HTTP/1.1 200 OK
access-control-allow-credentials: true
access-control-allow-headers: Origin, X-Requested-With, Content-Type, Accept
access-control-allow-methods: POST,GET,OPTIONS,PUT,DELETE
access-control-allow-origin: *
cache-control: no-cache, no-store, max-age=0, must-revalidate
content-type: application/json
date: Wed, 05 Dec 2018 01:14:04 GMT
X-Server-Name: traffic_ops_golang/
set-cookie: mojolicious=...; expires=Wed, 05 Dec 2018 05:14:04 GMT; path=/; HttpOnly
vary: Accept-Encoding
whole-content-sha512: xdF6l7jdd2t8au6lh4pFtDqYxTfehzke2aDBuytL7I74hK9KCT7ssLuYbfvD8ejdqqF3+jiBiFk7neQ8c4vVUQ==
content-length: 93

{ "alerts": [
    {
        "level": "success",
        "text": "Removed user [ admin ] from federation [ foo.bar. ]"
    }
]}