Permissions
Path parameters
organizationIdstringRequired
The id of the organization to find the member within
memberIdstringRequired
The id of the member
Query parameters
offsetinteger · int32Optional
The offset into queried items to return
limitinteger · int32 · max: 100Optional
How many items to return at one time (max 100)
Responses
200
A paged array of permissions
application/json
default
An error occurred
application/json
get
GET /v1/identity/organizations/{organizationId}/members/{memberId}/permissions HTTP/1.1
Host: localhost:3050
Accept: */*
{
"memberPermissions": [
{
"id": "text",
"projectId": "text",
"permission": {
"resource": "text",
"verb": "read"
}
}
],
"totalResults": 1,
"offset": 1,
"limit": 1
}
Path parameters
organizationIdstringRequired
The id of the organization to find the member within
memberIdstringRequired
The id of the member
Body
projectIdstringRequired
Responses
200
Expected response to a valid request
application/json
default
An error occurred
application/json
post
POST /v1/identity/organizations/{organizationId}/members/{memberId}/permissions HTTP/1.1
Host: localhost:3050
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"projectId": "text",
"permission": {
"resource": "text",
"verb": "read"
}
}
{
"id": "text",
"projectId": "text",
"permission": {
"resource": "text",
"verb": "read"
}
}
Was this helpful?