account.py

GET /accounts/<account>/attr/

list all attributes for an account.

Example request:

GET /accounts/<account>/attr/ HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: 'application/json'
Status Codes:
POST /accounts/<account>/attr/<key>

Add attributes to an account.

Example request:

POST /accounts/<account>/attr/<key> HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type:
Status Codes:
DELETE /accounts/<account>/attr/<key>

disable account with given account name.

Example request:

DELETE /accounts/<account>/attr/<key> HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type:
Status Codes:
GET /accounts/<account>/scopes/

list all scopes for an account.

Example request:

GET /accounts/<account>/scopes/ HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: 'application/json'
Status Codes:
POST /accounts/<account>/scopes/<scope>

create scope with given scope name.

Example request:

POST /accounts/<account>/scopes/<scope> HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type:
Status Codes:
GET /accounts/<account>

get account information for given account name.

Example request:

GET /accounts/<account> HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: 'application/json'
Status Codes:
POST /accounts/<account>

create account with given account name.

Example request:

POST /accounts/<account> HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type:
Status Codes:
DELETE /accounts/<account>

disable account with given account name.

Example request:

DELETE /accounts/<account> HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type:
Status Codes:
GET /accounts/?$/?$

list all rucio accounts.

Example request:

GET /accounts/?$/?$ HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: 'application/x-json-stream'
GET /accounts/<account>/limits/<rse=None>

get the current limits for an account on a specific RSE

Example request:

GET /accounts/<account>/limits/<rse=None> HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: 'application/json'
Status Codes:
POST /accounts/<account>/identities

Grant an identity access to an account.

Example request:

POST /accounts/<account>/identities HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type:
Status Codes:
GET /accounts/<account>/identities
No doc string

Example request:

GET /accounts/<account>/identities HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: 'application/x-json-stream'
DELETE /accounts/<account>/identities

Delete an account’s identity mapping.

Example request:

DELETE /accounts/<account>/identities HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type:
Status Codes:
GET /accounts/<account>/rules
Return all rules of a given account.

Example request:

GET /accounts/<account>/rules HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: 'application/x-json-stream'
Status Codes:
GET /accounts/<account>/usage/
Return the account usage of the account.

Example request:

GET /accounts/<account>/usage/ HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: 'application/x-json-stream'
Status Codes:
GET /accounts/<account>/usage/<rse>
Return the account usage of the account.

Example request:

GET /accounts/<account>/usage/<rse> HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: 'application/x-json-stream'
Status Codes: