Skip to main content
POST
Issue a service credential

Authorizations

__Host-argus-session
string
cookie
required

The opaque session cookie set by Discord sign-in. Named argus-session outside production. HttpOnly, so scripts cannot read it; same-origin requests send it automatically. Requests other than GET must also carry an Origin header equal to the application's own origin.

Body

application/json
name
string
required
Required string length: 2 - 80
scopes
enum<string>[]
required
Minimum array length: 1

An Argus permission key.

Available options:
cad.unit.self,
cad.view,
cad.dispatch,
cad.incidents.create,
cad.incidents.manage,
cad.units.manage,
cad.calls.manage,
server.view,
players.view,
players.lookup,
sessions.view,
sessions.manage,
shifts.view,
shifts.manage,
staff.view,
staff.manage,
moderation.view,
moderation.warn,
moderation.kick,
moderation.ban,
moderation.history,
audit.view,
admin.manage,
civilians.create,
civilians.manage_own,
civilians.manage,
pnc.view,
pnc.records.manage,
pnc.licences.manage,
pnc.warrants.manage,
pnc.markers.manage,
pnc.vehicles.manage
expiresInDays
integer
default:30
Required range: 1 <= x <= 90

Response

Created.

data
object
required