application/json

Body Required

  • firstName string
  • lastName string

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • status string
    • code integer(int32)
    • message string
    • data object
      Hide data attributes Show data attributes object
      • profile object
        Hide profile attributes Show profile attributes object
        • avatar string
        • id string(uuid)
        • status string

          Values are SUSPENDED, ACTIVE, DEACTIVATED, BUSINESS_DEACTIVATED, DELETED, BUSINESS_DELETED, or HAS_REPORTED_ISSUES.

        • role string

          Values are USER, PROVIDER, ASSOCIATE_PROVIDER, BUSINESS, SUPER_ADMIN, ADMIN, MANAGER, or TEAM.

        • first_name string
        • last_name string
        • email_address string
        • created_at string(date-time)
        • updated_at string(date-time)
        • account_created_at string
        • account_updated_at string
        • profile_created_at string
        • profile_updated_at string
        • email_confirmed_at string
        • password_updated_at string
        • last_signed_in string
        • emp_id string
        • should_resend_invite boolean
      • team object
        Hide team attributes Show team attributes object
        • role string

          Values are USER, PROVIDER, ASSOCIATE_PROVIDER, BUSINESS, SUPER_ADMIN, ADMIN, MANAGER, or TEAM.

        • position string
        • department string
        • cluster array[object]
          Hide cluster attributes Show cluster attributes object
          • id integer(int64)
          • scope string

            Values are USER, PROVIDER, ASSOCIATE_PROVIDER, BUSINESS, PAYMENT, SUPPORT, PRODUCT, ADMIN, or GUEST.

          • createdAt string
          • updatedAt string
          • permissions array[object]
            Hide permissions attributes Show permissions attributes object
            • id integer(int64)
            • createdAt string
            • updatedAt string
            • expiration string
            • permission string

              Values are WRITE, READ, UPDATE, or DELETE.

        • specific array[object]
          Hide specific attributes Show specific attributes object
          • account string
          • name string
          • scopes array[object]
            Hide scopes attributes Show scopes attributes object
            • id integer(int64)
            • scope string

              Values are USER, PROVIDER, ASSOCIATE_PROVIDER, BUSINESS, PAYMENT, SUPPORT, PRODUCT, ADMIN, or GUEST.

            • createdAt string
            • updatedAt string
            • permissions array[object]
              Hide permissions attributes Show permissions attributes object
              • id integer(int64)
              • createdAt string
              • updatedAt string
              • expiration string
              • permission string

                Values are WRITE, READ, UPDATE, or DELETE.

      • activities array[object]
        Hide activities attributes Show activities attributes object
        • id integer(int64)
        • activity string
        • associated string
        • tag string
        • label string
        • header string
        • createdAt string(date-time)
        • updatedAt string(date-time)
PATCH /admin/profile/update
curl \
 --request PATCH 'https://sandbox.serchservice.com/api/v1/admin/profile/update' \
 --header "X-Serch-Signed: $API_KEY" \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "X-Serch-Drive-Api-Key: $API_KEY" \
 --header "X-Serch-Drive-Secret-Key: $API_KEY" \
 --header "X-Serch-Guest-Api-Key: $API_KEY" \
 --header "X-Serch-Guest-Secret-Key: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"firstName":"string","lastName":"string"}'
Request examples
{
  "firstName": "string",
  "lastName": "string"
}
Response examples (200)
{
  "status": "100 CONTINUE",
  "code": 42,
  "message": "string",
  "data": {
    "profile": {
      "avatar": "string",
      "id": "string",
      "status": "SUSPENDED",
      "role": "USER",
      "first_name": "string",
      "last_name": "string",
      "email_address": "string",
      "created_at": "2025-05-04T09:42:00Z",
      "updated_at": "2025-05-04T09:42:00Z",
      "account_created_at": "string",
      "account_updated_at": "string",
      "profile_created_at": "string",
      "profile_updated_at": "string",
      "email_confirmed_at": "string",
      "password_updated_at": "string",
      "last_signed_in": "string",
      "emp_id": "string",
      "should_resend_invite": true
    },
    "team": {
      "role": "USER",
      "position": "string",
      "department": "string",
      "cluster": [
        {
          "id": 42,
          "scope": "USER",
          "createdAt": "string",
          "updatedAt": "string",
          "permissions": [
            {
              "id": 42,
              "createdAt": "string",
              "updatedAt": "string",
              "expiration": "string",
              "permission": "WRITE"
            }
          ]
        }
      ],
      "specific": [
        {
          "account": "string",
          "name": "string",
          "scopes": [
            {
              "id": 42,
              "scope": "USER",
              "createdAt": "string",
              "updatedAt": "string",
              "permissions": [
                {
                  "id": 42,
                  "createdAt": "string",
                  "updatedAt": "string",
                  "expiration": "string",
                  "permission": "WRITE"
                }
              ]
            }
          ]
        }
      ]
    },
    "activities": [
      {
        "id": 42,
        "activity": "string",
        "associated": "string",
        "tag": "string",
        "label": "string",
        "header": "string",
        "createdAt": "2025-05-04T09:42:00Z",
        "updatedAt": "2025-05-04T09:42:00Z"
      }
    ]
  }
}