Skip to content

Get user permissions in organization

GET
/users/{username}/orgs/{org}/permissions
username
required
string

Username of user

org
required
string

Name of the organization

OrganizationPermissions

Media type application/json

OrganizationPermissions list different users permissions on an organization

object
can_create_repository
boolean
can_read
boolean
can_write
boolean
is_admin
boolean
is_owner
boolean
Example generated
{
"can_create_repository": true,
"can_read": true,
"can_write": true,
"is_admin": true,
"is_owner": true
}

APIForbiddenError is a forbidden error response

Media type application/json
object
message
string
url
string
Example generated
{
"message": "example",
"url": "example"
}

APINotFound is a not found error response

Media type application/json
object
errors
Array<string>
message
string
url
string
Example generated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}