API

Update custom property

Update custom property for a company

POST/v1/hq/properties/{property_id}
AuthorizationBearer <token>

The Noona HQ API uses Bearer token for authentication.

Endpoints that return generic information that does not contain sensitive data do not require authentication. Endpoints that require authentication are specifically marked in the documentation.

Authorization: Bearer your-token

In: header

Path Parameters

property_id*string
Example"dwawd8awudawd"

Query Parameters

select?array<string>
expand?array<string>

Request Body

application/json

company?string
Example"7awdXwZoedakjad37a"
name?string
Example"Age"
scope?string
Formatenum
Value in"events" | "customer"
Example"customers"
type?string
Formatenum
Value in"input" | "textarea" | "select" | "options"
Example"input"
options?
order?integer
Formatint32
Example1

Response Body

application/json

curl -X POST "https://api.noona.is/v1/hq/properties/dwawd8awudawd" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "7awdXwZoedakjad37a",
  "company": "7awdXwZoedakjad37a",
  "name": "Age",
  "scope": "customers",
  "type": "input",
  "options": [
    {
      "id": "7awdXwZoedakjad37a",
      "name": "string"
    }
  ],
  "order": 1,
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z"
}
Empty
Empty