POST
/v1/mgmt/user/customattribute/delete

Delete a custom attributes to configure on users within a project, using a valid management key.

This API endpoint will delete a custom attribute within a project.

See also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/user/customattribute/delete

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

namesarray<string>

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/user/customattribute/delete" \
  -d '{
  "names": [
    "string"
  ]
}'

{
  "data": [
    {
      "name": "string",
      "type": 0,
      "options": [
        {
          "value": "string",
          "label": "string"
        }
      ],
      "displayName": "string",
      "defaultValue": {
        "@type": "string"
      },
      "viewPermissions": [
        "string"
      ],
      "editPermissions": [
        "string"
      ],
      "editable": true
    }
  ],
  "total": "string"
}

Was this helpful?