Skip to main content

Permissions Config API (v1)

Download OpenAPI specification:Download

This is the Permissions Space Block Config APIs

Permission

CreatePermission

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
resourceTypeId
required
string
Request Body schema:
id
string or null
name
string or null

Responses

Request samples

Content type
No sample

Response samples

Content type
No sample

GetPermissions

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
resourceTypeId
required
string

Responses

Response samples

Content type
No sample

GetPermission

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
resourceTypeId
required
string
id
required
string

Responses

Response samples

Content type
No sample

UpdatePermission

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
resourceTypeId
required
string
id
required
string
Request Body schema:
name
string or null

Responses

Request samples

Content type
No sample

Response samples

Content type
No sample

DeletePermission

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
resourceTypeId
required
string
id
required
string

Responses

ResourceType

CreateResourceType

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
Request Body schema:
id
string or null
name
string or null
parentId
string or null

Responses

Request samples

Content type
No sample

Response samples

Content type
No sample

GetResourceTypes

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string

Responses

Response samples

Content type
No sample

UpdateResourceType

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
id
required
string
Request Body schema:
name
string or null
implicitPermissions
Array of strings or null
canListMembersPermissionId
string or null
canCreateMembersPermissionId
string or null
canUpdateMembersPermissionId
string or null
canDeleteMembersPermissionId
string or null

Responses

Request samples

Content type
No sample

Response samples

Content type
No sample

DeleteResourceType

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
id
required
string

Responses

GetResourceType

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
id
required
string

Responses

Response samples

Content type
No sample

StaticRole

CreateStaticRole

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
Request Body schema:
id
string or null
name
string or null
description
string or null
object or null

Responses

Request samples

Content type
No sample

Response samples

Content type
No sample

GetStaticRoles

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string

Responses

Response samples

Content type
No sample

UpdateStaticRole

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
id
required
string
Request Body schema:
name
string or null
description
string or null
object or null

Responses

Request samples

Content type
No sample

Response samples

Content type
No sample

GetStaticRole

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
id
required
string

Responses

Response samples

Content type
No sample

DeleteStaticRole

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
id
required
string

Responses

TenantConfig

GetTenantConfig

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string

Responses

Response samples

Content type
No sample

UpdateTenantConfig

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
Request Body schema:
implicitPermissions
Array of strings or null
canListMembersPermissionId
string or null
canCreateMembersPermissionId
string or null
canUpdateMembersPermissionId
string or null
canDeleteMembersPermissionId
string or null
canListRolesPermissionId
string or null
canCreateRolesPermissionId
string or null
canUpdateRolesPermissionId
string or null
canDeleteRolesPermissionId
string or null

Responses

Request samples

Content type
No sample

Response samples

Content type
No sample

CreateTenantPermission

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
Request Body schema:
id
string or null
name
string or null

Responses

Request samples

Content type
No sample

Response samples

Content type
No sample

GetTenantPermissions

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string

Responses

Response samples

Content type
No sample

GetTenantPermission

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
id
required
string

Responses

Response samples

Content type
No sample

UpdateTenantPermission

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
id
required
string
Request Body schema:
name
string or null

Responses

Request samples

Content type
No sample

Response samples

Content type
No sample

DeleteTenantPermission

Authorizations:
Bearer
path Parameters
projectId
required
string
environmentId
required
string
id
required
string

Responses