application/json

Body Required

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
PATCH /admin/profile/upload
curl \
 --request PATCH 'https://sandbox.serchservice.com/api/v1/admin/profile/upload' \
 --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 '{"path":"string","media":"string","bytes":"string"}'
Request examples
{
  "path": "string",
  "media": "string",
  "bytes": "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"
      }
    ]
  }
}