Get auth user

Retrieve details of a specific authentication user for a site.


GET/api/servers/{server}/sites/{id}/auth-users/{authUserId}

Get an auth user

This endpoint allows you to retrieve information about a specific basic authentication user configured for a site.

Request

GET
/api/servers/{server}/sites/{id}/auth-users/{authUserId}
curl -G "https://ploi.io/api/servers/{server}/sites/{id}/auth-users/{authUserId}" \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json"

Response

{
  "data": {
    "id": 1,
    "name": "admin",
    "path": "/wp-admin",
    "created_at": "2024-01-15 10:30:00"
  }
}