REST Auth API: ContactSecurity
ContactSecurity resources are a subresource of Contact, and contain security related properties for a contact.
ContactSecurity instance resource
Resource URI
/api/2012-02-01/auth/resources/contacts/{ContactID}/security/
General structure
<ContactSecurity> <Link rel="http://schemas.learningsourceapp.com/api/2012/02/auth/related/Roles" type="application/xml" title="Roles" href="https://demo.arlo.co/api/2012-02-01/auth/resources/contacts/29/security/roles" /> </ContactSecurity>
Related resource links
Link (title) | Description |
---|---|
Roles | Reference to a Roles resource link representing the roles associated with this contact. |
HTTP GET
Returns a representation of a ContactSecurity resource, including the properties and links above.
Optional parameters
Parameter | Description |
---|---|
expand | Expression referencing Link elements to expand when generating the response. See link expansion. |
Example
GET /api/2012-02-01/auth/resources/contacts/562/security/
<ContactSecurity> <Link rel="http://schemas.learningsourceapp.com/api/2012/02/auth/related/Roles" type="application/xml" title="Roles" href="https://demo.arlo.co/api/2012-02-01/auth/resources/contacts/562/security/roles" /> </ContactSecurity>
HTTP POST
Not directly supported, this resource can be created in a POST for a Contact Resource.
HTTP PUT
Not directly supported, this resource can be updated via a PUT for the parent Contact Resource.
HTTP PATCH
Not directly supported, this resource can be updated via a PATCH for the parent Contact Resource.
HTTP DELETE
Not supported.