List mobile push credentials
Mobile mobile push credentials
Array of objects (Successful response with details about a push credential) | |
object (PaginationMeta) |
{- "data": [
- {
- "alias": "LucyCredential",
- "certificate": "-----BEGIN CERTIFICATE----- MIIGVDCCBTKCAQEAsNlRJVZn9ZvXcECQm65czs... -----END CERTIFICATE-----",
- "created_at": "2021-03-26T17:51:59.588408Z",
- "id": "0ccc7b54-4df3-4bcb-a65a-3da1ecc997d7",
- "private_key": "-----BEGIN RSA PRIVATE KEY----- MIIEpQIBAAKCAQEAsNlRJVZn9ZvXcECQm65czs... -----END RSA PRIVATE KEY-----",
- "record_type": "push_credential",
- "server_key": "",
- "type": "ios",
- "updated_at": "2021-03-26T17:51:59.588408Z"
}
], - "meta": {
- "page_number": 2,
- "page_size": 25,
- "total_pages": 3,
- "total_results": 55
}
}
Creates a new mobile push credential
Mobile push credential parameters that need to be sent in the request
Mobile push credential created
Unauthorized request
{- "alias": "LucyIosCredential",
- "certificate": "-----BEGIN CERTIFICATE----- MIIGVDCCBTKCAQEAsNlRJVZn9ZvXcECQm65czs... -----END CERTIFICATE-----",
- "private_key": "-----BEGIN RSA PRIVATE KEY----- MIIEpQIBAAKCAQEAsNlRJVZn9ZvXcECQm65czs... -----END RSA PRIVATE KEY-----",
- "type": "ios"
}
{- "data": {
- "alias": "LucyCredential",
- "certificate": "-----BEGIN CERTIFICATE----- MIIGVDCCBTKCAQEAsNlRJVZn9ZvXcECQm65czs... -----END CERTIFICATE-----",
- "created_at": "2021-03-26T17:51:59.588408Z",
- "id": "0ccc7b54-4df3-4bcb-a65a-3da1ecc997d7",
- "private_key": "-----BEGIN RSA PRIVATE KEY----- MIIEpQIBAAKCAQEAsNlRJVZn9ZvXcECQm65czs... -----END RSA PRIVATE KEY-----",
- "record_type": "push_credential",
- "server_key": "",
- "type": "ios",
- "updated_at": "2021-03-26T17:51:59.588408Z"
}
}
Deletes a mobile push credential based on the given push_credential_id
The mobile push credential was deleted successfully
Unauthorized request
Resource not found
{- "errors": [
- {
- "code": "string",
- "detail": "string",
- "meta": { },
- "source": {
- "parameter": "string",
- "pointer": "/json/pointer"
}, - "title": "string"
}
]
}
Retrieves mobile push credential based on the given push_credential_id
Successful get mobile push credential response
object (PushCredential) | |||||||||||||||||||
|
Unauthorized request
Resource not found
{- "data": {
- "alias": "LucyCredential",
- "certificate": "-----BEGIN CERTIFICATE----- MIIGVDCCBTKCAQEAsNlRJVZn9ZvXcECQm65czs... -----END CERTIFICATE-----",
- "created_at": "2021-03-26T17:51:59.588408Z",
- "id": "0ccc7b54-4df3-4bcb-a65a-3da1ecc997d7",
- "private_key": "-----BEGIN RSA PRIVATE KEY----- MIIEpQIBAAKCAQEAsNlRJVZn9ZvXcECQm65czs... -----END RSA PRIVATE KEY-----",
- "record_type": "push_credential",
- "server_key": "",
- "type": "ios",
- "updated_at": "2021-03-26T17:51:59.588408Z"
}
}