/api/users/:id/status

Returns the active status for the user specified by ID.

Resource Information

Resource URL

https://service.belladati.com/api/users/:id/status

HTTP Method

GET

Request Parameters

Parameters

Detail

Example

id

ID of the user to fetch. You can find the ID in the response to /api/domains/:domain_id/users.

123

Sample Request / Response

Using curl:

curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" https://service.belladati.com/api/users/123/status

When the request has been submitted successfully, the server replies with an HTTP status code of 200 and body with one of following statuses:

    ACTIVE

    INACTIVE