Identities

Create identity

POST/auth/{ratls_mount_path}/identities
Path parameters
ratls_mount_path*string

Path that the backend was mounted at

Body
type*string
name*string
creatednumber
values*object
Response

OK

Request
const response = await fetch('/auth/{ratls_mount_path}/identities', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "type": "text",
      "name": "text"
    }),
});
const data = await response.json();

List identities

GET/auth/{ratls_mount_path}/identities/
Path parameters
ratls_mount_path*string

Path that the backend was mounted at

Query parameters
Response

OK

Body
any
Request
const response = await fetch('/auth/{ratls_mount_path}/identities/', {
    method: 'GET',
    headers: {},
});
const data = await response.json();

List identities for type

GET/auth/{ratls_mount_path}/identities/{type}
Path parameters
ratls_mount_path*string

Path that the backend was mounted at

type*string
Query parameters
Response

OK

Body
any
Request
const response = await fetch('/auth/{ratls_mount_path}/identities/{type}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();

List identities for type and name

GET/auth/{ratls_mount_path}/identities/{type}/{name}
Path parameters
ratls_mount_path*string

Path that the backend was mounted at

type*string
name*string
Query parameters
Response

OK

Body
any
Request
const response = await fetch('/auth/{ratls_mount_path}/identities/{type}/{name}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();

Read identity

GET/auth/{ratls_mount_path}/identities/{type}/{name}/{created}
Path parameters
uuid*string
ratls_mount_path*string

Path that the backend was mounted at

Response

OK

Body
any
Request
const response = await fetch('/auth/{ratls_mount_path}/identities/{type}/{name}/{created}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();

Delete identity

DELETE/auth/{ratls_mount_path}/identities/{type}/{name}/{created}
Path parameters
uuid*string
ratls_mount_path*string

Path that the backend was mounted at

Response

OK

Body
any
Request
const response = await fetch('/auth/{ratls_mount_path}/identities/{type}/{name}/{created}', {
    method: 'DELETE',
    headers: {},
});
const data = await response.json();

Last updated