Clienvy API documentation

WordPress identities


List WordPress identities

GET
https://api.clienvy.io/employee/v1
/wordpress-identities

Returns all WordPress identities, optionally filtered by a search term.

List WordPress identities › query Parameters

search
​string

Full-text search across the identity name.

List WordPress identities › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

List WordPress identities › Responses

Array of WordpressIdentityResource

id
​string · uuid
name
​string
custom_login_styling_enabled
​boolean
primary_color
​string | null
custom_login_slug
​string | null
custom_login_css
​string | null
​FileResource | null

Create a WordPress identity

POST
https://api.clienvy.io/employee/v1
/wordpress-identities

Creates a new WordPress identity.

Create a WordPress identity › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Create a WordPress identity › Request Body

name
​string · maxLength: 64 · required

Create a WordPress identity › Responses

WordpressIdentityResource

id
​string · uuid
name
​string
custom_login_styling_enabled
​boolean
primary_color
​string | null
custom_login_slug
​string | null
custom_login_css
​string | null
​FileResource | null

Get a WordPress identity

GET
https://api.clienvy.io/employee/v1
/wordpress-identities/{wordpressIdentity}

Returns a single WordPress identity by ID, including its custom login styling.

Get a WordPress identity › path Parameters

wordpressIdentity
​string · uuid · required

The wordpress identity UUID

Get a WordPress identity › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Get a WordPress identity › Responses

WordpressIdentityResource

id
​string · uuid
name
​string
custom_login_styling_enabled
​boolean
primary_color
​string | null
custom_login_slug
​string | null
custom_login_css
​string | null
​FileResource | null

Update a WordPress identity

PUT
https://api.clienvy.io/employee/v1
/wordpress-identities/{wordpressIdentity}

Updates the identity, including its custom login styling. Only the fields present in the request are changed.

Update a WordPress identity › path Parameters

wordpressIdentity
​string · uuid · required

The wordpress identity UUID

Update a WordPress identity › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Update a WordPress identity › Request Body

name
​string · maxLength: 64
custom_login_styling_enabled
​boolean
primary_color
​string | null · maxLength: 64
custom_login_css
​string | null · maxLength: 10000
custom_login_slug
​string | null · maxLength: 64
logo_id
​string · uuid

UUID of an uploaded logo file (jpeg, png or jpg).

Update a WordPress identity › Responses

WordpressIdentityResource

id
​string · uuid
name
​string
custom_login_styling_enabled
​boolean
primary_color
​string | null
custom_login_slug
​string | null
custom_login_css
​string | null
​FileResource | null

Delete a WordPress identity

DELETE
https://api.clienvy.io/employee/v1
/wordpress-identities/{wordpressIdentity}

Deletes a WordPress identity. An identity that is still used by a WordPress application cannot be deleted, and at least one identity must always remain.

Delete a WordPress identity › path Parameters

wordpressIdentity
​string · uuid · required

The wordpress identity UUID

Delete a WordPress identity › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Delete a WordPress identity › Responses

WordpressIdentityResource

id
​string · uuid
name
​string
custom_login_styling_enabled
​boolean
primary_color
​string | null
custom_login_slug
​string | null
custom_login_css
​string | null
​FileResource | null