Skip to content

Aritma IAM API (V1)

An API for interacting with the identity and access management system of Aritma.

Download OpenAPI description
Languages
Servers
Mock server
https://developer.aritma.com/_mock/apis/platform/iam/openapi/iam-openapi
IAM API
https://api.dev.aritma.io/core/iam

Actions related to IAM actions

Operations

Actions related to clients in Aritma ID

Operations

Actions related to domains registered for the tenant, and their verification status

Operations

Actions listing information about the currently authenticated user

Operations

Actions related to IAM policies

Operations

Request

Security
authorization_code_with_pkce(Required scopes:
services.iam
)
or client_credentials(Required scopes:
services.iam
)
Bodyapplication/json

The policy request

subjectstringnon-emptyrequired

The subject identifier the policy should be created for.

Example: "user-00000000-0000-0000-0000-000000000000"
scopestring(uri)required

The resource scope the policy applies to.

Example: "/subscriptions/123"
actionstringnon-emptyrequired

The action to grant. Must be one of the actions returned by the /actions endpoint.

Example: "iam.policy.read"
application/json
{ "subject": "user-00000000-0000-0000-0000-000000000000", "scope": "/subscriptions/123", "action": "iam.policy.read" }

Responses

OK

Bodyapplication/json
subjectstringrequired

The subject identifier the policy applies to.

Example: "user-00000000-0000-0000-0000-000000000000"
scopestringrequired

The resource scope the policy applies to.

Example: "/subscriptions/123"
actionstringrequired

The action permitted by this policy.

Example: "iam.policy.read"
tenantstringrequired

The tenant this policy belongs to.

Example: "00000000-0000-0000-0000-000000000000"
Response
application/json
{ "subject": "user-00000000-0000-0000-0000-000000000000", "scope": "/subscriptions/123", "action": "iam.policy.read", "tenant": "00000000-0000-0000-0000-000000000000" }

Request

Security
authorization_code_with_pkce(Required scopes:
services.iam
)
or client_credentials(Required scopes:
services.iam
)
Bodyapplication/json

The policy request

subjectstringnon-emptyrequired

The subject identifier the policy should be created for.

Example: "user-00000000-0000-0000-0000-000000000000"
scopestring(uri)required

The resource scope the policy applies to.

Example: "/subscriptions/123"
actionstringnon-emptyrequired

The action to grant. Must be one of the actions returned by the /actions endpoint.

Example: "iam.policy.read"
application/json
{ "subject": "user-00000000-0000-0000-0000-000000000000", "scope": "/subscriptions/123", "action": "iam.policy.read" }

Responses

No Content

Response
No content

Finds policies that matches a request filter

Request

Requires the requesting party to have read access on the requested scope

Security
authorization_code_with_pkce(Required scopes:
services.iam
)
or client_credentials(Required scopes:
services.iam
)
Query
pageSizeinteger(int32)

The number of items to return per page. Clamped between 10 and 200.

Example: pageSize=100
cursorstring

Opaque cursor returned from a previous response. Pass this to retrieve the next page.

Example: cursor=eyJhbGciOiJub25lIn0
includeDerivedboolean

If policies with a derived scope should be included

Example: includeDerived=false
includeInheritedboolean

If policies with parent scope should be included

Example: includeInherited=false
subjectstring

Filters results to policies belonging to this subject identifier

Example: subject=user-00000000-0000-0000-0000-000000000000
scopestring(uri)

Filters results to policies on this scope

Example: scope=https://api.aritma.com/tenants/my-tenant
actionstring

Filters results to policies granting this action

Example: action=iam.policy.read
No request payload

Responses

OK

Bodyapplication/json
policiesArray of objects(PolicyDto)required

The list of policies matching the request filter.

Example: [{"subject":"user-00000000-0000-0000-0000-000000000000","scope":"/subscriptions/123","action":"iam.policy.read","tenant":"00000000-0000-0000-0000-000000000000"}]
subjectstringrequired

The subject identifier the policy applies to.

Example: "user-00000000-0000-0000-0000-000000000000"
scopestringrequired

The resource scope the policy applies to.

Example: "/subscriptions/123"
actionstringrequired

The action permitted by this policy.

Example: "iam.policy.read"
tenantstringrequired

The tenant this policy belongs to.

Example: "00000000-0000-0000-0000-000000000000"
cursorstring or null

Opaque cursor to pass in the next request to retrieve the following page. null when there are no more pages.

Example: "eyJhbGciOiJub25lIn0"
Response
application/json
{ "cursor": "eyJhbGciOiJub25lIn0", "policies": [ { … } ] }

Actions related to Aritma ID roles

Operations

Actions related to SCIM tokens

Operations

Actions related to scopes in Aritma ID

Operations

Actions common for all SSO providers

Operations

Actions relating to AzureAd as an SSO provider

Operations

Actions relating to custom SSO providers

Operations

Actions relating to Google as an SSO provider

Operations

Actions relating to Signicat as an SSO provider

Operations

Actions related to IAM subjects

Operations

Actions related to Aritma ID users

Operations