---
updatedAt: 2026-06-12T18:48:09.000Z
agentTools:
  projectIndex: https://docs.strivacity.com/llms.txt
---

# Update UI settings for admin account

You can update the UI settings by calling this endpoint.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "description": "API documentation of Admin Portal",
    "title": "Admin Portal",
    "version": "v0.0.1"
  },
  "servers": [
    {
      "url": "https://{tenant}",
      "variables": {
        "tenant": {
          "default": "example.strivacity.com",
          "description": "Your Strivacity tenant"
        }
      }
    }
  ],
  "tags": [
    {
      "name": "Admin Principal"
    }
  ],
  "paths": {
    "/admin/api/v1/me": {
      "post": {
        "description": "You can update the UI settings by calling this endpoint.",
        "operationId": "updateAdminPrincipal",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PrincipalUpdateRequest_AdminPrincipal"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/PrincipalUpdateRequest_AdminPrincipal"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemJson"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemJson"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "securityScheme": []
          }
        ],
        "summary": "Update UI settings for admin account",
        "tags": [
          "Admin Principal"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "FieldError": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "objectName": {
            "type": "string"
          }
        }
      },
      "PrincipalUpdateRequest_AdminPrincipal": {
        "required": [
          "uiSettings"
        ],
        "type": "object",
        "properties": {
          "uiSettings": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "description": "Represents the UI settings on the admin console"
            },
            "description": "Represents the UI settings on the admin console"
          }
        }
      },
      "ProblemJson": {
        "type": "object",
        "properties": {
          "detail": {
            "type": "string"
          },
          "entityName": {
            "type": "string",
            "description": "The name of the entity within the error has occurred"
          },
          "errorKey": {
            "type": "string",
            "description": "A unique identifier of the error"
          },
          "fieldErrors": {
            "type": "array",
            "description": "Field constraint violation errors",
            "items": {
              "$ref": "#/components/schemas/FieldError"
            }
          },
          "message": {
            "type": "string",
            "description": "A unique identifier in format of 'error.{errorKey}'"
          },
          "params": {
            "type": "array",
            "description": "Further information related to the actual error",
            "items": {
              "type": "object",
              "additionalProperties": {
                "type": "object"
              }
            }
          },
          "path": {
            "type": "string",
            "description": "Request URI"
          },
          "status": {
            "type": "integer",
            "description": "Status code",
            "format": "int32"
          },
          "title": {
            "type": "string"
          }
        },
        "description": "Based on [RFC 7807](https://datatracker.ietf.org/doc/html/rfc7807)"
      }
    },
    "securitySchemes": {
      "securityScheme": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```