PERMISSION

Get All Permissions

get
/api/v1/permission
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
chevron-right
200

Successful response

application/json
get
/api/v1/permission
200

Successful response

Create Permission

post
/api/v1/permission
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
objectOptionalExample: {"name":"Example Permission","slug":"example-permission-slug"}
Responses
chevron-right
200

Successful response

application/json
post
/api/v1/permission
200

Successful response

Get One Permission

get
/api/v1/permission/{permissionSlug}
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
permissionSlugstringRequiredExample: example-permission-slug
Responses
chevron-right
200

Successful response

application/json
get
/api/v1/permission/{permissionSlug}
200

Successful response

Delete Permission

delete
/api/v1/permission/{permissionSlug}/delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
permissionSlugstringRequiredExample: example-permission-slug
Responses
chevron-right
200

Successful response

application/json
delete
/api/v1/permission/{permissionSlug}/delete
200

Successful response

Last updated