Skip to content

Accounts (2.0.0)

The 'Accounts' application of the Core API

Languages
Servers
https://{environment}.pigello.io

Subtenantcontractconnection

Operations

Subtenanttenantconnection

Operations

Tenant

Operations

Organizationuser

Operations

Subtenant

Operations

Organizationuserworkengagement

Operations

Organizationusersegment

Operations

Delete 'Organizationusersegment'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Path
pkstringwrite-onlyrequired
curl -i -X DELETE \
  'https://dev.api.pigello.io/accounts/users/organization/organizationusersegment/{pk}/' \
  -H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE'

Responses

Successful deletion

Response
No content

Get 'Organizationusersegment'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Path
pkstringwrite-onlyrequired
curl -i -X GET \
  'https://dev.api.pigello.io/accounts/users/organization/organizationusersegment/{pk}/' \
  -H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE'

Responses

Successful selection

Bodyapplication/json
segmentobject(Segment)required
segment.​idstring(uuid)
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

userobject(Organizationuser)required
user.​idstring(uuid)
custom_idstring or null<= 128 characters
organizationobject or null(Organization)
created_atstring(date-time)read-only
roleobject or null(Role)
Response
application/json
{ "custom_id": "string", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "created_at": "2019-08-24T14:15:22Z", "segment": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "role": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }

Update 'Organizationusersegment'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Path
pkstringwrite-onlyrequired
Bodyapplication/json
segmentobject(Segment)required
segment.​idstring(uuid)
userobject(Organizationuser)required
user.​idstring(uuid)
custom_idstring or null<= 128 characters
organizationobject or null(Organization)
roleobject or null(Role)
curl -i -X PATCH \
  'https://dev.api.pigello.io/accounts/users/organization/organizationusersegment/{pk}/' \
  -H 'Content-Type: application/json' \
  -H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE' \
  -d '{
    "custom_id": "string",
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "segment": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "role": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "user": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    }
  }'

Responses

Successful update

Bodyapplication/json
segmentobject(Segment)required
segment.​idstring(uuid)
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

userobject(Organizationuser)required
user.​idstring(uuid)
custom_idstring or null<= 128 characters
organizationobject or null(Organization)
created_atstring(date-time)read-only
roleobject or null(Role)
Response
application/json
{ "custom_id": "string", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "created_at": "2019-08-24T14:15:22Z", "segment": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "role": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }

Integrationuseragent

Operations

Protectedidentity

Operations

Workengagement

Operations