Skip to content

Grant a user access to an app

POST
/users/{id}/access
curl --request POST \
--url https://your-server.example/api/users/1/access \
--header 'Content-Type: application/json' \
--cookie session=<session> \
--data '{ "app_slug": "example" }'
id
required
integer format: int64
Media typeapplication/json
object
app_slug
required
string

Example generated

{
"app_slug": "example"
}

Granted.

Media typeapplication/json
object
status
string

Example

{
"status": "ok"
}