API Reference
Admin

Admin

Manages admins which have the authority to edit publishers and sites.

These are authenticated endpoints. Requests to these endpoints must include a JWT Bearer token in the header of the request. Please see the documentation on authorization for how to go about obtaining a valid JWT token.

Creating a new admin

POST/v1/admin
Admin

Takes a JSON payload containing the name of the admin.

type InputPayload = {
  "name": string
}

Deleting a admin

DELETE/v1/admin/:id
Admin

Takes a single path parameter id and deletes the admin.