API Reference
- Introduction
- Authentication
- Authorization
- Endpoints
- Me
- Announcements
- Attachments
- Awards
- Cache
- Calendars
- Categories
- Comments
- Documents
- Events
- Forms
- Groups
- Images
- Messages
- Newsfeed
- Positions
- Qualifications
- Ranks
- Records
- Roster
- Settings
- Specialties
- Statuses
- Submissions
- Tasks
- Units
- Users
- GETGet a list of users
- POSTCreate user
- GETGet user
- DELDelete user
- PATCHUpdate user
- POSTCreate a batch of users
- DELDelete a batch of users
- PATCHUpdate a batch of users
- Attachments
- Fields
- Position
- Rank
- Specialty
- Status
- Tasks
- Unit
- Assignment Records
- Award Records
- Combat Records
- Qualification Records
- Rank Records
- Service Records
- Status Records
- GET
Fields
Delete field
DELETE
/
{version}
/
users
/
{user}
/
fields
/
{field}
curl --request DELETE \
--url https://api.perscom.io/{version}/users/{user}/fields/{field} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": 123,
"name": "<string>",
"key": "<string>",
"type": "<string>",
"cast": "<string>",
"description": "<string>",
"placeholder": "<string>",
"default": "<string>",
"help": "<string>",
"required": true,
"rules": "<string>",
"readonly": true,
"hidden": true,
"options": [
{}
],
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The API version to use.
Available options:
v1
, v2
Response
200
application/json
OK
Supports HTML.
The date the resource was created. Stored in UTC.
The date the resource was updated. Stored in UTC.
Was this page helpful?
curl --request DELETE \
--url https://api.perscom.io/{version}/users/{user}/fields/{field} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": 123,
"name": "<string>",
"key": "<string>",
"type": "<string>",
"cast": "<string>",
"description": "<string>",
"placeholder": "<string>",
"default": "<string>",
"help": "<string>",
"required": true,
"rules": "<string>",
"readonly": true,
"hidden": true,
"options": [
{}
],
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}